package site.yunnong.atvris.service;

import site.yunnong.atvris.common.api.Page;
import site.yunnong.atvris.common.dto.HistoryViewParam;
import site.yunnong.atvris.common.dto.HistoryViewQueryParam;
import site.yunnong.atvris.service.vo.HistoryViewVO;

/**
 * 用户视频历史播放
 *
 * @author zhangjinghao
 * @email jhzhang9102@163.com
 * @date 2021-07-09 23:45:37
 */
public interface UserHistoryViewService {

    /**
     * 删除所有历史记录
     */
    int deleteAll();

    Page<HistoryViewVO> queryPage(HistoryViewQueryParam param);

    int delete(Long id);


    void record(HistoryViewParam param);
}

